Skip to content

[codex] Prepare EC2 hosting#257

Merged
jjoonleo merged 1 commit into
deployfrom
codex/ec2-hosting
May 4, 2026
Merged

[codex] Prepare EC2 hosting#257
jjoonleo merged 1 commit into
deployfrom
codex/ec2-hosting

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rework the EC2 deploy workflow to build the Spring Boot jar, generate deploy-only config from GitHub Secrets, upload files to EC2, and restart Docker Compose.
  • Update Docker Compose to mount external runtime config and secret files on EC2.
  • Let Firebase load its service account from an external path and remove Apple client secret logging.
  • Add EC2 deployment notes with required secrets and runtime file layout.

Workflow trigger note

Merging this PR to main will make the workflow definition available on main, but it will not automatically deploy because the workflow currently runs on workflow_dispatch or pushes to the deploy branch.

Validation

  • ./gradlew build -x test
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/deploy.yml")'

./gradlew test was also attempted locally, but the suite failed because no local MySQL instance was listening; CI is configured to run tests with MySQL 8.

@jjoonleo jjoonleo changed the base branch from main to deploy May 4, 2026 15:51
@jjoonleo jjoonleo marked this pull request as ready for review May 4, 2026 15:53
@jjoonleo jjoonleo merged commit 4c0b6e7 into deploy May 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant